/* ! **************************** preview ******************************* */

#preview {
    margin: 0 auto;
    padding: 7.5em 0em;
    width: 60%;
}

.preview-body {
    width: 100%;
}

/* ! ********** img:hover ********* */

.preview-img {
    height: 100%;
    position: relative;
    display: inline-block;
}

.preview-img img {
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

.preview-img .preview-info {
    color: #000;
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.2);
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale3d(1.4, 1.4, 1);
    transform: scale3d(1.4, 1.4, 1);
}

.preview-img h3 {
    margin: 16% 0 10px 0;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    text-transform: capitalize;
    font-size: 2.5em;
}

.preview-img p {
    padding: 1em 2em;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    text-transform: capitalize;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

.preview-img:hover h3 {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.preview-img:hover .preview-info, .preview-img:hover p {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.preview-img:hover .preview-info {
    background-color: rgba(58, 52, 42, 0);
}

.preview-img:hover img {
    opacity: 0.4;
}

/* ! ********** preview-row ********* */

.preview-row {
    position: relative;
    width: 100%;
    border-radius: 10px;
    background: #3EAABF;
    margin: 0;
    margin-bottom: 2em;
    overflow: hidden;
}

.preview-col {
    height: 30vh;
}

.preview-col-text {
    background-color: #ffffff;
    padding: 1em 1em 1em 1em;
    overflow: hidden;
}

.preview-col img {
    height: 80%;
    margin-top: 2em;
}

.preview-title {
    font-family: 'Papyrus', Fantasy;
    font-weight: 900;
}

h2.preview-title {
    cursor: pointer;
}

.preview-text {
    height: 100%;
    overflow: hidden;
}

.preview-reverse {
    transform: rotateY(180deg);
}

/* # ******** ipad ********* */

/* @media screen and (max-width:1400px),
screen and (max-height: 900px) {
    #preview {
        width: 70%;
    }
    .preview-col {
        height: 20vh;
    }
    .preview-col img {
        height: 80%;
        margin-top: 1em;
    }
} */

/* # ******** phone ********* */

/* @media screen and (max-width:550px),
screen and (max-height: 700px) {
    #preview {
        width: 80%;
    }
    .preview-col-text {
        background-color: #ffffff;
        padding: 2em 2em 2em 2em;
        overflow: hidden;
    }
} */